package org.jshand.cloud.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;

/**
 * @author 金山
 * 项目：sca-all-in-one
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2025/5/2911:39
 */
public class OrderProviderServiceSentinelClient implements OrderProviderService {
    @Override
    @SentinelResource(value = "/provider/order/{userId}", fallback = "fallback")
    public String order(String userId) {
        return "服务被讲解了，服务器开小差了...";
    }
}
